package com.sinochem.yunlian.ship.api.vo.message;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 
 * 
 * @author cyp
 * @date 2017-12-07 11:14:01
 */
@Data
public class SvMobileSmsInfo implements Serializable {
	private static final long serialVersionUID = 1L;

	//
	private Long id;

	// phone number
	private String phoneNumber;

	// 是否发送成功（0：未发送，1：成功，2：失败）
	private Integer status;
	
	private Long userId;
	
	private Integer smsType;	
	
	private String templateId;
	
	private String templateParams;
	
	private String busiModule;

	// 创建时间
	private Date createTime;
	
	public SvMobileSmsInfo(){}
	
	/**
	 * 初始化数据
	 * @param phoneNumber
	 * @param smsType
	 * @param templateId
	 * @param templateParams
	 * @param busiModule
	 * @param userId
	 */
	public SvMobileSmsInfo(String phoneNumber,Integer smsType
			,String templateId,String templateParams
			,String busiModule,Long userId){
		this.phoneNumber = phoneNumber;
		this.smsType = smsType;
		this.templateId = templateId;
		this.templateParams = templateParams;
	    this.busiModule = busiModule;
	    this.userId = userId;
	}
	
}
